log7

Measures of Spread

Target: On completion of this worksheet you should understand what is meant by a measure of spread and be able to calculate range, interquartile range and standard deviation.

1  Introduction

Suppose there are two football teams, A and B, and we need to choose one of them to take part in a competition. In this competition consistency is important. In order to make our decision we will use the number of goals they scored in their last 11 matches.

A 4 7 0 1 2 0 6 7 4 2 0
B 3 3 2 3 3 3 2 4 4 3 3

We will first consider the mean number of goals for each team:

mean A = Spread_files\Spread_MathML_0.jpg mean B = Spread_files\Spread_MathML_1.jpg

The means are equal so we must use other criteria. As consistency is important we need to find some way of measuring the spread of the data.

2  The range

The range of a set of data = largest value – smallest value

Using our football data:

range A = 7 – 0 = 7

range B = 4 – 2 = 2

As team B has a lower range than team A we would choose team B for consistency.

In general although the range is very easy to find it can be distorted by one very high or very low figure particularly if there is a large amount of data.

3  The interquartile range

The median divides the data into two halves (see Averages worksheet). The quartiles with the median divide the data into quarters.

To find the median and quartiles the data must first be put in numerical order

3.1  Example

Team A: 0 0 0 1 2 2 4 4 6 7 7

The median is the 6th value (shown in red), the lower quartile (Q1) is the 3rd value (shown in blue) and the upper quartile (Q3) is the 9th value (shown in green).

0 0 0 1 2 2 4 4 6 7 7Spread_files\Spread_MathML_2.jpgSpread_files\Spread_MathML_3.jpg

We can see that these values divide the data into four equal parts. Now another measure of spread is the interquartile range = Q3 – Q1

Interquartile range for A = 6 – 0 = 6

For team B we must first arrange the data in order as before:

2 2 3 3 3 3 3 3 3 4 4Spread_files\Spread_MathML_4.jpgSpread_files\Spread_MathML_5.jpg

The quartiles and median are in the same positions as for team A.

Interquartile range for B = 3 – 3 = 0

4  Standard deviation

The standard deviation uses all the values and gives a more useful measure of spread. The formula is

standard deviation (usually abbreviated to s.d.) = Spread_files\Spread_MathML_6.jpg

where Spread_files\Spread_MathML_7.jpgis the mean value of the data.

Using the football teams data (mean = 3)

  A     B  
Spread_files\Spread_MathML_8.jpg Spread_files\Spread_MathML_9.jpg Spread_files\Spread_MathML_10.jpg Spread_files\Spread_MathML_11.jpg Spread_files\Spread_MathML_12.jpg Spread_files\Spread_MathML_13.jpg
4 1 1 3 0 0
7 4 16 3 0 0
0 -3 9 2 -1 1
1 -2 4 3 0 0
2 -1 1 3 0 0
0 -3 9 3 0 0
6 3 9 2 -1 1
7 4 16 4 1 1
4 1 1 4 1 1
2 -1 1 3 0 0
0 -3 9 3 0 0
Spread_files\Spread_MathML_14.jpg Spread_files\Spread_MathML_15.jpg Spread_files\Spread_MathML_16.jpg Spread_files\Spread_MathML_17.jpg

Standard deviation of A = Spread_files\Spread_MathML_18.jpg

Standard deviation of B = Spread_files\Spread_MathML_19.jpg

Note the use of the Greek letter Spread_files\Spread_MathML_20.jpgfor s.d.

The formula can also be written Spread_files\Spread_MathML_21.jpg

For a frequency distribution the formula is Spread_files\Spread_MathML_22.jpg

This formula is also used for a grouped frequency distribution where x is the mid-point of the interval.

You can use your calculator to work out the mean and standard deviation. First put your calculator into statistics mode and then clear all memories. Each x value is entered ( multiplied by frequency if needed ) followed by ‘DATA’ key. How to display the mean and standard deviation depends on your calculator.

4.1  Example

Find the standard deviation of the following data:

Goals scored Number of matches    
Spread_files\Spread_MathML_23.jpg Spread_files\Spread_MathML_24.jpg Spread_files\Spread_MathML_25.jpg Spread_files\Spread_MathML_26.jpg
0 10 0 0
1 29 29 29
2 32 64 128
3 23 69 207
4 6 24 96
  Spread_files\Spread_MathML_27.jpg Spread_files\Spread_MathML_28.jpg Spread_files\Spread_MathML_29.jpg

Spread_files\Spread_MathML_30.jpg

This is the standard deviation for the population of 100 matches, i.e. for the data given. If we want to use this data as a sample to estimate the standard deviation for the population of all matches then we must use a slightly different formula which gives a better estimate. We use s to denote this standard deviation.

Spread_files\Spread_MathML_31.jpg Applying this to the example above gives us the result

Spread_files\Spread_MathML_32.jpg

As the number of values is large there is little difference between the two standard deviations but this second formula should be used when estimating a population standard deviation.

The variance is the square of the standard deviation so

Spread_files\Spread_MathML_33.jpg